﻿using Authentication.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Model.Interface
{
    public interface IGroupRoleProvider
    {
        IEnumerable<ApplicationGroupRule> RetrieveGroupRules(Guid applicationKey, string groupIdentifier = "", int departmentId = 0);

        ApplicationGroupRule Retrieve(Guid applicationKey, string groupid, string objectid, string roleid);

        bool Delete(ApplicationGroupRule grouprole);

        bool Update(ApplicationGroupRule grouprole);
    }
}
